<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<ul>
	<c:forEach items="${treinosList}" var="treinos">
		<li>${treinos.id} - ${treinos.nome} - 
		<a href="${linkTo[TreinosController].delete}?id=${treinos.id}">Remover</a> - 
		<a href="${linkTo[TreinosController].edit}?id=${treinos.id}">Editar</a> </li>
		
	</c:forEach>
	</ul>
	
	
	<a href="${linkTo[TreinosController].addt}">Adicionar Novo Evento</a>
	
</body>
</html>